package top.malaoshi.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.malaoshi.entity.Goods;

import java.util.List;

@Mapper
public interface GoodsMapper {

    public Goods getById(String id);
    public List<Goods> list();

    public int updateLikeById(@Param("id")String id,@Param("like") int like);
}
